package com.bwie.controller;

import com.bwie.service.TbCouponService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/coupon/coupon")
public class CouponController {

    @Autowired
    TbCouponService tbCouponService;


    @PutMapping("/SaveCoupon/{custId}")
    public void SaveCoupon(@PathVariable("custId") Integer custId){

        tbCouponService.SaveCoupon(custId);
    }

}
